export const receiveListColumns = [{
        'min-width': '180',
        prop: 'deliverCode',
        label: '发货单号',
        'show-overflow-tooltip': true
    },
    {
        'min-width': '150',
        prop: 'deliverDate',
        label: '发货日期',
        'show-overflow-tooltip': true
    },
    {
        width: '100',
        prop: 'deliverCount',
        label: '发货数量'
    },
    {
        width: '200',
        prop: 'productLineName',
        label: '产品线',
        'show-overflow-tooltip': true
    },
    // {
    //     width: '100',
    //     prop: 'totalCount',
    //     label: '总数量'
    // },
    {
        width: '120',
        prop: 'deliverStatus',
        label: '状态',
        formatter: row => (DELIVER_STATUS[Number(row.deliverStatus)])
    },
    {
        width: '200',
        prop: 'action',
        label: '操作',
        fixed: 'right'
    }
];

const DELIVER_STATUS = {
    0: '待收货',
    1: '已收货'
}
export const productListColumns = [
    {
        width: '60',
        type: 'index',
        label: '序号',
    },
    {
        'min-width': '160',
        prop: 'seqNo',
        label: '序列号',
        'show-overflow-tooltip': true
    }, {
        width: '180',
        prop: 'productCode',
        label: '产品编码',
        'show-overflow-tooltip': true
    },
    {
        width: '200',
        prop: 'productName',
        label: '产品名称',
        'show-overflow-tooltip': true
    },
    {
        width: '120',
        prop: 'batchNo',
        label: '批号',
        'show-overflow-tooltip': true
    },
    {
        width: '100',
        prop: 'deliverCount',
        label: '发货数量'
    },
    {
        width: '120',
        prop: 'deliverPrice',
        label: '单价（元）'
    },
    {
        width: '160',
        prop: 'validDate',
        label: '有效期',
        'show-overflow-tooltip': true
    },
    {
        width: '200',
        prop: 'registCode',
        label: '注册证号',
        'show-overflow-tooltip': true
    }
];